package com.jinly.ryder.manage.service.model;

import com.jinly.ryder.common.service.model.SettingCategory;
import com.jinly.ryder.common.service.model.SettingRefKey;
import com.jinly.ryder.manage.service.model.setting.BuildSetting;
import com.jinly.ryder.manage.service.model.setting.LogSetting;
import com.jinly.ryder.manage.service.model.setting.MonitorSetting;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 应用信息
 */
@Data
public class AppInfo {

    @SettingRefKey(category = SettingCategory.APP)
    private Integer id;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 应用展示名称
     */
    private String appShowName;

    /**
     * 构建类型
     */
    private AppBuildType buildType;

    /**
     * 部署类型
     */
    private AppDeployType deployType;

    /**
     * 监控方式
     */
    private AppMonitorType monitorType;

    /**
     * 日志类型
     */
    private AppLogType logType;

    private LocalDateTime updated;

    private BuildSetting buildSetting;

    private LogSetting logSetting;

    private MonitorSetting monitorSetting;

}
